package cc.jq1024.infrastructure.persistent.dao;

import cc.jq1024.infrastructure.persistent.po.StrategyPO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  抽奖策略 Dao 接口
 * </p>
 *
 * @author lijiaqiang@ljq1024.cc
 * @since 2024-04-11
 */
@Mapper
public interface IStrategyDao extends BaseMapper<StrategyPO> {

    /** 抽奖策略列表 */
    List<StrategyPO> queryStrategyList();

    /** 通过策略ID查询策略持久化对象 */
    StrategyPO queryStrategyPOByStrategyId(@Param("strategyId") Long strategyId);
}
